<?php

class tView_TestFailure {
	
	protected $_type;
	protected $_text;
	
	public function __construct($failure) {
		$this->_type = (string)$failure['type'];
		$this->_text = (string)$failure;
	}
	
	public function getType() {
		return $this->_type;
	}
	
	public function getText() {
		return $this->_text;
	}
	
}
